package com.itheima.reggie.service;

import com.itheima.reggie.domain.AddressBook;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 七安
* @description 针对表【address_book(地址管理)】的数据库操作Service
* @createDate 2022-08-15 16:15:17
*/
public interface AddressBookService extends IService<AddressBook> {

    void saveAddress(AddressBook addressBook);

    void deleteAddress(List<Long> ids);

    AddressBook findDefault();

    void updateAddress(Long id);
}
